package core;

public class WhiteNoise implements Function {

	@Override
	public double getValue(double time, double freq, double shiftV, double param) {
		return Math.random()*2-1;
	}

	@Override
	public boolean isOversample() {
		return false;
	}

	@Override
	public String toString() {
		return "White Noise";
	}
}
